package com.ltu.enums;

import lombok.Data;

/**  
 * @Description: 
 * @author: 若尘  
 * @date 2019年5月16日 下午5:02:07
 * @version V1.0  
 */

public class OrderEnums {
		 public enum OrderSource{
			 //1交租2退房3维修4入住
			 PlaceOrder("购买咨询服务",(byte) 1),
			 Reacharge("充值",(byte) 2),
			 ;
			 private String name;
			 private Byte index;
			 private OrderSource(String name,Byte index){
				 this.name=name;
				 this.index=index;
			 }
			 public Byte getIndex(){return this.index;}
			 public String getName(){return this.name;}
			 
		 }
		 public enum DeliveryStatus{
			 //1交租2退房3维修4入住
			 DeliveryStatus0("订单未成交",  0),
			 DeliveryStatus1("待自提",  1),
			 DeliveryStatus2("已自提",  2),
			 DeliveryStatus3("已退款",  3),
			 DeliveryStatus4("线下退款",  4),
			 ;
			 private String name;
			 private Integer index;
			 private DeliveryStatus(String name,Integer index){
				 this.name=name;
				 this.index=index;
			 }
			 public Integer getIndex(){return this.index;}
			 public String getName(){return this.name;}
			 
		 }
	
}
